<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<title th:text="${session.title}">123</title>
	<link th:replace="common/header"/>
	<link rel="stylesheet" th:href="@{/css/ace-skins.min.css}" />
	</head>
	<body class="navbar-fixed">
  	<div th:replace="common/top"></div>
		<div class="container-fluid main_bg" id="main-container">
			<a id="menu-toggler" href="#"><span></span></a>
			<div th:replace="common/menu"></div>
			<div id="main-content" class="clearfix">
				<div id="page-content" class="clearfix">
					<div th:replace="common/title"></div>
					<div th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
                        <div class="row-fluid" th:if="${null == footCupbf}">
                            <div class="span12">
                                <span th:text="${session.footUser.nike} + '已报分或本轮无对手'">123</span>
                            </div>
                        </div>
                        <form class="form-horizontal" th:object="${footCupbf}" method="post" th:action="@{/hy/footCupbf/add}" name="form" th:if="${null != footCupbf && null != footCupbf.qd1 && null != footCupbf.qd2}">
                            <input type="hidden" name="id" th:field="*{id}"/>
                            <input type="hidden" name="time1" th:field="*{time1}"/>
                            <input type="hidden" name="time2" th:field="*{time2}"/>
                            <input type="hidden" name="time3" th:field="*{time3}"/>
                            <input type="hidden" name="time4" th:field="*{time4}"/>
                            <input type="hidden" name="qd1" th:field="*{qd1}"/>
                            <input type="hidden" name="qd2" th:field="*{qd2}"/>
                            <h3 class="header smaller lighter blue"><em class="icon-add"></em><span th:text="${footCupbf.sjbm + '赛季' + footCupbf.bflx.text + '报分'}"></span></h3>
                            <div class="row-fluid">
                                <div class="span4">
                                <div class="control-group">
                                    <label class="control-label" th:text="${'球队:' + t.qd1Name + '-' + t.userName1}">123</label>
                                </div>
                                </div>
                                <div class="span2">
                                <div class="control-group">
                                    <label class="control-label" for="jq1">进球:<span style="color:red">*</span></label>
                                    <div class="controls">
                                        <input th:field="*{jq1}" type="text" name="jq1" id="jq1" class="input-mini spinner-input" placeholder="进球"/>
                                    </div>
                                </div>
                                </div>
                                <div class="span2">
                                <div class="control-group">
                                    <label class="control-label" for="jq2">进球:<span style="color:red">*</span></label>
                                    <div class="controls">
                                        <input th:field="*{jq2}" type="text" name="jq2" id="jq2" class="input-mini spinner-input" placeholder="进球"/>
                                    </div>
                                </div>
                                </div>
                                <div class="span4">
                                <div class="control-group">
                                    <label class="control-label" th:text="${'球队:' + t.qd2Name + '-' + t.userName2}">123</label>
                                </div>
                                </div>
                            </div>
                            <div class="row-fluid hidden-480">
                                <div class="span6">
                                    <h4 class="header smaller lighter blue"><span style="float: left">主队</span></h4>
                                    <table border="0" style="width:100%">
                                        <thead>
                                            <tr>
                                                <th >位置</th>
                                                <th >名字</th>
                                                <th >等级</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr th:each="t:${zhuTeam}">
                                                <td><img alt="" src="" th:src="@{/images/foot/gk.png}" th:if="${t.wzbm == 'GK'}" /> <img alt="" src="" th:src="@{/images/foot/sw.png}" th:if="${t.wzbm == 'SW'}" /> <img alt="" src="" th:src="@{/images/foot/cb.png}" th:if="${t.wzbm == 'CB'}" /> <img alt="" src="" th:src="@{/images/foot/lb.png}" th:if="${t.wzbm == 'LB'}" /> <img alt="" src="" th:src="@{/images/foot/rb.png}" th:if="${t.wzbm == 'RB'}" /> <img alt="" src="" th:src="@{/images/foot/dmf.png}" th:if="${t.wzbm == 'DMF'}" /> <img alt="" src="" th:src="@{/images/foot/cmf.png}" th:if="${t.wzbm == 'CMF'}" /> <img alt="" src="" th:src="@{/images/foot/lmf.png}" th:if="${t.wzbm == 'LMF'}" /> <img alt="" src="" th:src="@{/images/foot/rmf.png}" th:if="${t.wzbm == 'RMF'}" /> <img alt="" src="" th:src="@{/images/foot/lwf.png}" th:if="${t.wzbm == 'LWF'}" /> <img alt="" src="" th:src="@{/images/foot/rwf.png}" th:if="${t.wzbm == 'RWF'}" /> <img alt="" src="" th:src="@{/images/foot/amf.png}" th:if="${t.wzbm == 'AMF'}" /> <img alt="" src="" th:src="@{/images/foot/ss.png}" th:if="${t.wzbm == 'SS'}" /> <img alt="" src="" th:src="@{/images/foot/cf.png}" th:if="${t.wzbm == 'CF'}" /> </td>
                                                <td th:if="${t.qydj == '顶级球星'}"><span style="color: orange; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '顶级球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '超级球星'}"><span style="color: purple; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '超级球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '洲际球星'}"><span style="color: blue; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '洲际球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '普通球星'}"><span style="color: #9dfe5c; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '普通球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '大众/白人'}"><span style="color: white; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '大众/白人'}"><em class="icon-star text-warning"></em></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                                <div class="span6">
                                    <h4 class="header smaller lighter blue"><span style="float: right">客队</span></h4>
                                    <table border="0" style="width:100%" id="kdtable">
                                        <thead>
                                            <tr>
                                                <th >位置</th>
                                                <th >名字</th>
                                                <th >等级</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr th:each="t:${keTeam}">
                                                <td><img alt="" src="" th:src="@{/images/foot/gk.png}" th:if="${t.wzbm == 'GK'}" /> <img alt="" src="" th:src="@{/images/foot/sw.png}" th:if="${t.wzbm == 'SW'}" /> <img alt="" src="" th:src="@{/images/foot/cb.png}" th:if="${t.wzbm == 'CB'}" /> <img alt="" src="" th:src="@{/images/foot/lb.png}" th:if="${t.wzbm == 'LB'}" /> <img alt="" src="" th:src="@{/images/foot/rb.png}" th:if="${t.wzbm == 'RB'}" /> <img alt="" src="" th:src="@{/images/foot/dmf.png}" th:if="${t.wzbm == 'DMF'}" /> <img alt="" src="" th:src="@{/images/foot/cmf.png}" th:if="${t.wzbm == 'CMF'}" /> <img alt="" src="" th:src="@{/images/foot/lmf.png}" th:if="${t.wzbm == 'LMF'}" /> <img alt="" src="" th:src="@{/images/foot/rmf.png}" th:if="${t.wzbm == 'RMF'}" /> <img alt="" src="" th:src="@{/images/foot/lwf.png}" th:if="${t.wzbm == 'LWF'}" /> <img alt="" src="" th:src="@{/images/foot/rwf.png}" th:if="${t.wzbm == 'RWF'}" /> <img alt="" src="" th:src="@{/images/foot/amf.png}" th:if="${t.wzbm == 'AMF'}" /> <img alt="" src="" th:src="@{/images/foot/ss.png}" th:if="${t.wzbm == 'SS'}" /> <img alt="" src="" th:src="@{/images/foot/cf.png}" th:if="${t.wzbm == 'CF'}" /> </td>
                                                <td th:if="${t.qydj == '顶级球星'}"><span style="color: orange; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '顶级球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '超级球星'}"><span style="color: purple; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '超级球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '洲际球星'}"><span style="color: blue; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '洲际球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '普通球星'}"><span style="color: #9dfe5c; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '普通球星'}"><em class="icon-star text-warning"></em><em class="icon-star text-warning"></em></td>
                                                <td th:if="${t.qydj == '大众/白人'}"><span style="color: white; font-weight: bold" th:text="${t.yw + '(' + t.name + ')'}">123</span></td>
                                                <td th:if="${t.qydj == '大众/白人'}"><em class="icon-star text-warning"></em></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span12">
                                    <span style="color:red" th:if="${#fields.hasErrors('qd1')}" th:errors="*{qd1}">Name Error</span>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="text-center span12"><button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
                                    <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
                                    <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                                </div>
                            </div>
                        </form>
					</div>
              		<!--/#page-content-->
				</div>
				<div th:replace="common/skin :: skin"></div>
		</div><!--/#main-content-->
	</div><!--/.fluid-container#main-container-->
	<div th:replace="common/js"></div>
	<script th:src="@{/js/jquery-ui.custom.min.js}"></script>
	<script th:src="@{/js/fuelux/fuelux.spinner.min.js}"></script>
	<script th:src="@{/js/jquery.autosize.min.js}"></script>
	<script th:src="@{/js/colorbox/jquery.colorbox.js}"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('#jq1').ace_spinner({value:0,min:0,max:10,step:1, btn_up_class:'btn-info' , btn_down_class:'btn-info'})
				.on('change', function(){});
			$('#jq2').ace_spinner({value:0,min:0,max:10,step:1, btn_up_class:'btn-info' , btn_down_class:'btn-info'})
				.on('change', function(){});
		});
	</script>
	</body>
</html>
